package com.txra.txramall.order.service.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Service;

import com.txra.txramall.order.entity.OrderEntity;
import com.txra.txramall.order.service.OrderService;


@Service
public class OrderServiceImpl implements OrderService {


    @Override
    public List<OrderEntity> listByUserId(Integer userId) {
    	List<OrderEntity> list=new ArrayList<OrderEntity>();
    	OrderEntity orderEntity=new OrderEntity();
    	orderEntity.setAmount(200);
    	list.add(orderEntity);
        return list;
    }

}